<div class="content4 content41 page" data-page="supervisionRelieveList" id="supervisionRelieveList">
		<div class="page table-section none">
			<p class="table-head">
				<label class="table-title">
			当前位置:
			<label class="locationMain"><a href="javascript:void(0)" class="platform_main">首页</a></label>&nbsp;&gt;&nbsp;
				<label>解除监管</label>
			</label>
		</p>
			<p>
				<div class="table-search">
<!-- 				<div class="searchDataLine">
					<div>
						收付款时间：
					<input style="width: 80px;" class="Wdate statementBeginDate" type="text" onFocus="WdatePicker({})" />--
					<input style="width: 80px;" class="Wdate statementEndDate" type="text" onFocus="WdatePicker({minDate:$('.statementBeginDate').val()})" />
					</div>
					<div>
						流水单号：
					<input class="statementNumber" type="text" />
					</div>
					<div>
						收款单位名称：
					<input class="receiptName" type="text" />
					</div>
				</div> -->
				<div class="searchDataLine">
					<div>
						箱号：
						<input class="caseNumber" type="text" />
					</div>
					<div>
						物流运单号：
						<input class="waybillNumber" type="text" />
					</div>
					<div>
						融资编号：
						<input class="financeNumber" type="text" />
					</div>
				</div>
				<div class="searchDataLine">
					<div>
						融资客户：
						<input class="enterpriseName" type="text" />
					</div>
					<div>
						融资货物： 
						<input class="bulkstockName" type="text" />
					</div>
				</div>
				<div class="searchDataLine">
					<div>
						业务类型
						<!-- <select class="sel-recommend" id="productType"> -->
						<select name="productType">
							<option value="0">全部</option>
							<option value="1">舱单代采</option>
							<option value="2">舱单质押</option>
							<option value="3">仓储质押</option>
							<option value="4">保理融资</option>
							<option value="5">代理采购</option>
							<option value="6">代理销售</option>
						</select>
					</div>
					<div>
						状态：
						<select class="searchStatus">
							<option value="2">待办</option>
							<option value="1">全部</option>
						</select>
					</div>
				</div>
				<div class="searchDataLine">
					<div style="border-left-width:50px; margin-left:750px;">
						<button class="table-search-button searchButon">查询</button>
					</div>
				</div>
			</div>
				<table  class="table" border="0" cellspacing="0" cellpadding="0" class="bulkstockInventoryTBody">
				</table>
				<script type="text/template" id="bulkstockInventoryTpl">
					<tr class="table_title">
						<th style="width:2%;">No</th>
						<th style="width:9%;">&nbsp;&nbsp;箱号</th>
						<!--<th>理货时间</th>-->
						<!--<th>箱型尺寸</th>-->
						<th style="width:10%;">运单号</th>
						<th style="width:8%;">融资单号</th>
						<th style="width:8%;">融资客户</th>
						<th style="width:8%;">业务类型</th>
						<!--<th>铅封号</th>-->
						<th style="width:6%;">货物名称</th>
						<th style="width:5%;">货物数量</th>
						<th style="width:6%;">货物重量(吨)</th>
						<th style="width:6%;">货物体积(m<sup>3</sup>)</th>
						<th style="width:6%;">监管状态</th>
						<th style="width:8%;">监管解除人</th>
						<th style="width:8%;">监管解除时间</th>
						<th style="width:10%;">操作</th>
					</tr>
					{@each datas as that, index}
					<tr class="tr_style table-data" type="${that.type}" inventoryId="${that.inventoryId}" supervisionRelieveCreateDatetime="${that.supervisionRelieveCreateTime}" financeId="${that.financeId}" deliveryId="${that.deliveryId}">
						<td>${index*1 + 1}</td>
						<td>${that.caseNumber}</td>
						<td>${that.waybillNumber}</td>
						<!--<td>${that.tallyDateTime}</td>-->
						<!--<td>${that.caseSize}</td>-->
						<!--<td>${that.waybillNumber}</td>-->
						<td>${that.financeNumber}</td>
						<td>${that.enterpriseName}</td>
						<td>
							${getValueByKey(7, that.productType)}
						</td>
						<!--<td>${that.facingSlip}</td>-->
						<td>
							{@each that.containerBulkstocks as them}
							${them.bulkstockName}
							{@/each}
						</td>
						
						<td>
							{@each that.containerBulkstocks as them}
							${them.quantity}(${them.unit})
							{@/each}
						</td>
						<td>
							{@each that.containerBulkstocks as them}
							${them.weight}
							{@/each}
						</td>
						<td>
							{@each that.containerBulkstocks as them}
							${them.volume}
							{@/each}
						</td> 

						<td>
							${getValueByKey(5, that.supervisionState)}
						</td>
						<td>
							${that.relieveAccountor}
						</td>
						<td>
							${that.relieveCreateDateTime}
						</td>
						<td>
							{@if that.signState ===0}
								未签收 <a class="detainedApplication" tallyingId="${that.tallyingId}" financeId="${that.financeId}">扣货</a>
							{@else if that.signState ===1}
								{@if that.supervisionState==4 && that.type != 2 && that.type != 3}
								已解除监管 <a deliveryId="${that.deliveryId}" class="signedInfoDetail">签收信息</a>
								{@else}
								<a href="javascript:void(0)" class="supervisionRelieve">解除监管</a> <a deliveryId="${that.deliveryId}" class="signedInfoDetail">签收信息</a> <a class="detainedApplication" deliveryId="${that.deliveryId}" tallyingId="${that.tallyingId}" financeId="${that.financeId}">扣货</a>
								{@/if}
							{@/if}
						</td>
					</tr>
					{@/each}
					</script>
				<div id="pagenation" class="pagerCon"></div>
			</p>
		</div>
<!--解除监管弹出框-->
	<div id="supervisionRelieve_dialog" class="dialog none dialogSubmit" >
	<div class="dialogTitle">解除监管</div>
	<button class="closeDiv">×</button>
	<div class="dialogContent supervisionRelieveContent " action="createSupervisionRelieve" version="v1.0">
		<div>
			<input type="hidden" name="inventoryId" />
			<div>
				<p>
				<span for="" class="field-lab2 financing_field-lab3">解除监管说明：</span>
			<textarea isNull="1" codeName="解除监管说明" class="field-input field-textarea3" name="relieveRemark" maxLength="255" ></textarea>		
			</p>
	
</div>
</div>
</div>
	<div class="footerBtnContract">
	<div id="sure_yes_supervisionRelieve" class="dialogBtn dialogHandlerBtn">确定</div>
	</div>
</div>
</div>